package response

import "time"

type SysNoticeDetailResult struct {
	Id                     int                      `json:"id,string"`
	Title                  string                   `json:"title"`
	Content                string                   `json:"content"`
	Type                   *int8                    `json:"Type"`
	PublicUserId           int                      `json:"publicUserId,string" `
	PublicUserName         string                   `json:"publicUserName"`
	PublicOrgId            int                      `json:"publicOrgId,string"`
	PublicOrgName          string                   `json:"publicOrgName"`
	PublicTime             time.Time                `json:"publicTime"`
	CancelTime             time.Time                `json:"cancelTime"`
	Status                 int8                     `json:"status"`
	NoticeUserIdList       []string                 `json:"noticeUserIdList"`
	NoticeUserReadInfoList []map[string]interface{} `json:"noticeUserReadInfoList"`
}

type SysNoticeReceiveResult struct {
	Id             int       `json:"id,string"`
	Title          string    `json:"title"`
	Content        string    `json:"content"`
	Type           *int8     `json:"Type"`
	PublicUserId   int       `json:"publicUserId,string" `
	PublicUserName string    `json:"publicUserName"`
	PublicOrgId    int       `json:"publicOrgId,string"`
	PublicOrgName  string    `json:"publicOrgName"`
	PublicTime     time.Time `json:"publicTime"`
	CancelTime     time.Time `json:"cancelTime"`
	Status         int8      `json:"status"`
	ReadStatus     int8      `json:"readStatus"`
	ReadTime       time.Time `json:"readTime"`
}
